/* -------------------------------------------------------------------------- *
   TestWinUnit - Maria Blees (maria.blees@microsoft.com)

   File: TraceTest.cpp

   These tests don't fail, but are just to demonstrate proper output.
 * -------------------------------------------------------------------------- */
#include "WinUnit.h"

#pragma warning(push)
#pragma warning(disable : 4702)
BEGIN_TEST(TestTraceWideCharNoMessage)
{
    WIN_TRACE(L"OUTPUT: Hello, world!\n");
}
END_TEST

BEGIN_TEST(TestTraceWideCharWithMessage)
{
    WIN_TRACE(L"OUTPUT: Formatting example: %s %d, %d.\n", L"October", 13, 1975);
}
END_TEST

BEGIN_TEST(TestTraceAnsiNoMessage)
{
    WIN_TRACE("OUTPUT: Hello, world!\n");
}
END_TEST

BEGIN_TEST(TestTraceAnsiWithMessage)
{
    WIN_TRACE("OUTPUT: Formatting example: %s %d, %d.\n", "October", 13, 1975);
}
END_TEST
#pragma warning(pop)